package com.example.mapper.entity;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    private String email;
//    private LocalDateTime createTime;
//    private LocalDateTime updateTime;

    // 省略getter/setter
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    
    public String getUsername() { return username; }
    public void setUsername(String username) { this.username = username; }
    
    public String getEmail() { return email; }
    public void setEmail(String email) { this.email = email; }
    
//    public LocalDateTime getCreateTime() { return createTime; }
//    public void setCreateTime(LocalDateTime createTime) { this.createTime = createTime; }
//
//    public LocalDateTime getUpdateTime() { return updateTime; }
//    public void setUpdateTime(LocalDateTime updateTime) { this.updateTime = updateTime; }
}